[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
POPA Pop All (186/286/386) Flags: O D I T S Z A P C
POPA
Logic: POP DI
POP SI
POP BP
POP SP
POP BX
POP DX
POP CX
POP AX
This instruction pops the eight general-purpose registers in a 186, 286
or 386. The registers popped, in order, are: DI, SI, BP, SP, BX, DX, CX,
and AX. Use this instruction after PUSHA.
The PUSHA/POPA instructions are useful at the beginning and end of called
procedures to save and restore the contents of used registers.
--------------------------------------------------------------------------
Operands Clocks Transfers Bytes Example
POPA 19 (286) 16 1 POPA
--------------------------------------------------------------------------
Note: The popped value for SP is discarded, not loaded
into SP.
See Also:
POPAD
PUSHA
PUSHAD
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson